Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: drop invalid orders #105

Merged
merged 3 commits into from
Nov 22, 2023
Merged

fix: drop invalid orders #105

merged 3 commits into from
Nov 22, 2023

Conversation

anxolin
Copy link
Contributor

@anxolin anxolin commented Oct 11, 2023

Description

There's one order in a loop of checking for every block.

Each check, watch tower arrives to the conclusion that the order is invalid:

image

I can see at least 1700 attempts!
image

Changes

Same as we do in the SDK, we drop the invalid orders so we don't check again.

Run this in Gnosis Chain and make sure the order is properly dropped.

@anxolin anxolin marked this pull request as ready for review October 11, 2023 10:38
@mfw78 mfw78 added the blocked This issue is blocked by some other work label Oct 11, 2023
@anxolin anxolin requested a review from mfw78 November 22, 2023 11:27
@mfw78 mfw78 added E:1.2: Watch Tower Service https://github.com/cowprotocol/pm/issues/8 and removed blocked This issue is blocked by some other work labels Nov 22, 2023
@anxolin anxolin merged commit 25c861d into main Nov 22, 2023
4 checks passed
@anxolin anxolin deleted the drop-invalid-orders branch November 22, 2023 13:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E:1.2: Watch Tower Service https://github.com/cowprotocol/pm/issues/8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants